<template>
  <el-form :inline="true" :model="formInline" class="demo-form-inline">
    <el-form-item label="项目名称">
      <el-input v-model="formInline.user" placeholder="请输入" size="small"></el-input>
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="search" size="mini">查询</el-button>
      <el-button type="primary" @click="reset" size="mini">重置</el-button>
    </el-form-item>
  </el-form>
  <!-- <div>
    名称
    <el-input placeholder="请输入内容" v-model="input" clearable>
    </el-input>
  </div> -->
</template>

<script>
export default {
  name: 'Filters',
  data() {
    return {
      formInline: {
        user: '',
        region: ''
      }
    }
  },
  methods: {
    search() {
      console.log('查询');
    },
    reset() {
      console.log('重置');
    }
  }
}
</script>
<style lang="scss" scoped>
.el-form {
  height: 40px;
  box-shadow: rgb(51, 51, 51) 0px 1px 6px;
}
</style>
